package logic

import (
	"context"

	"goods_srv/goods"
	"goods_srv/internal/svc"

	"github.com/zeromicro/go-zero/core/logx"
)

type StockGoodsLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewStockGoodsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *StockGoodsLogic {
	return &StockGoodsLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *StockGoodsLogic) StockGoods(in *goods.StockGoodsRequest) (*goods.StockGoodsResponse, error) {
	// todo: add your logic here and delete this line

	return &goods.StockGoodsResponse{}, nil
}
